package retrofitdemo.com.night.bean;

import java.util.List;

public class CommendCallback {
    /**
     * code : 200
     * msg : 请求成功
     * page : {"end":9,"pageNo":1,"pageSize":10,"pages":1,"start":0,"total":2}
     * result : [{"comment":"语境和我现在写的作文如出一辙 感谢","id":"1240175849837813761","name":"滕总","time":"2020-03-18 15:18:58"},{"comment":"语境和我现在写的作文如出一辙 感谢","id":"1240176185524740098","name":"滕总","time":"2020-03-18 15:20:19"}]
     * success : true
     * traceId :
     */

    private String code;
    private String msg;
    private PageBean page;
    private boolean success;
    private String traceId;
    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class PageBean {
        /**
         * end : 9
         * pageNo : 1
         * pageSize : 10
         * pages : 1
         * start : 0
         * total : 2
         */

        private int end;
        private int pageNo;
        private int pageSize;
        private int pages;
        private int start;
        private int total;

        public int getEnd() {
            return end;
        }

        public void setEnd(int end) {
            this.end = end;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getStart() {
            return start;
        }

        public void setStart(int start) {
            this.start = start;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
    }

    public static class ResultBean {
        /**
         * comment : 语境和我现在写的作文如出一辙 感谢
         * id : 1240175849837813761
         * name : 滕总
         * time : 2020-03-18 15:18:58
         */

        private String comment;
        private String id;
        private String name;
        private String time;

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }
    }
}
